package com.book.book.service;

import com.book.book.domain.User;

public interface UserService {
    User login(String username, String userpassword);
    boolean register(User user);
    User findByUsername(String username); // 需要有这个方法
}